package com.googlecode.jyoutubeuploader.to;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

public class YouTubeArgumentsTo {

	private boolean isPrivate;
	private String description;
	private String title;
	private YouTubeCategory category;
	private List<String> keywords;
	private String username;
	private String password;
	private File file;
	private int throttleSpeed;
	private int reportingInterval;
	
	public boolean isPrivate() {
		return isPrivate;
	}
	public void setPrivate(boolean isPrivate) {
		this.isPrivate = isPrivate;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public YouTubeCategory getCategory() {
		return category;
	}
	public void setCategory(YouTubeCategory category) {
		this.category = category;
	}
	public List<String> getKeywords() {
		return keywords;
	}
	public void setKeywords(String... keywords) {
		this.keywords  = new ArrayList<String>();
		
		for (String keyword : keywords) {
			this.keywords.add(keyword);
		}
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public File getFile() {
		return file;
	}
	public void setFile(File file) {
		this.file = file;
	}
	public int getThrottleSpeed() {
		return throttleSpeed;
	}
	public void setThrottleSpeed(int throttleSpeed) {
		this.throttleSpeed = throttleSpeed;
	}
	public int getReportingInterval() {
		return reportingInterval;
	}
	public void setReportingInterval(int reportingInterval) {
		this.reportingInterval = reportingInterval;
	}
}
